﻿#pragma once

#include "Property/EditorPropertyView.h"
#include "EditorComponentPropertyViewModel.h"
#include "EditorComponentPropertyView.m.h"

class REditorReflectedPropertyView;

RCLASS()
class REditorComponentPropertyView : public REditorPropertyView
{
    ROBJECT

public:
    virtual void BindViewModel(TSharedObjectPtr<REditorPropertyViewModel> InViewModel) override;
    virtual void CreateWidget(TSharedObjectPtr<RVerticalPositionerWidget> InPropertyList) override;

protected:
    TWeakObjectPtr<REditorComponentPropertyViewModel> ComponentViewModel;

    TSharedObjectPtr<REditorReflectedPropertyView> Properties;

};